package com.red.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 旅游景点信息表
 * </p>
 *
 * @author author
 * @since 2025-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("attractions")
@ApiModel(value="Attractions对象", description="旅游景点信息表")
public class Attractions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "景点唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "景点官方名称")
    private String name;

    @ApiModelProperty(value = "封面图地址")
    private String imageUrl;

    @ApiModelProperty(value = "分类标签(如：革命遗址/纪念馆)")
    private String category;

    @ApiModelProperty(value = "详细文字介绍")
    private String description;

    @ApiModelProperty(value = "详细地理位置")
    private String address;


}
